Drop reach capabilities#26246
Open
odersky wants to merge 9 commits into
Open
Conversation
f970ca2 to
258fd39
Compare
If a test can be rewritten using capset variables, do that, otherwise move to tests/disabled/reaches.
Disable withReachCaptures
For now, swallow the `*` and issue an error that reach capabilities are no longer supported.
- Drop Reach class and reach operations in Capability - Deprecate `reachCapability` annotation - Drop deep parameter in mapCapability - Drop deferredReaches config setting - Drop references to reach capabilities in comments Also: An added test case where reach capabilities were confusing before.
bracevac
requested changes
Jun 8, 2026
Contributor
There was a problem hiding this comment.
The two syntax.md files need to be changed, too.
Contributor
There was a problem hiding this comment.
And will this forever parse a reach and give an error? Or is there a plan in place to truly drop it?
Contributor
Author
|
At some point we'll drop the parse. Maybe in ~6 months. |
- Drop `@reserve` annotation. - The used parameters are now precisely the capset parameters. The idea is that we can obtain delayed usage by placing capset parameters later in a curried parameter sequence. No other provisions are needed. This simplifies the logic and explanation and avoids corner cases where we need something to be used but the previous logic did not recognize it as such.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #26193